package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 广场信息链接
 * </p>
 *
 * @author zcj
 * @since 2021-04-28
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("parenting_link")
@ApiModel(value = "Link对象", description = "广场信息链接")
public class Link implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "广场信息ID")
    @TableField("PLAZA_ID")
    private Long plazaId;

    @ApiModelProperty(value = "链接地址")
    @TableField("LINK")
    private String link;

    @ApiModelProperty(value = "类型 1:视频2:图片")
    @TableField("LINK_TYPE")
    private Integer linkType;

    @ApiModelProperty(value = "状态 0:不显示1:显示")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除 0:未删除 1:已删除")
    @TableField(value = "DELETED", fill = FieldFill.INSERT_UPDATE)
    @TableLogic
    private Integer deleted;


}
